/*
A ColorState is a defined r,g,b point in time.
author : @totetmatt
*/
#ifndef ColorState_h
#define ColorState_h

#include "Arduino.h"

class ColorState
{
    public:

    ColorState(double r,double g,double b,boolean glide,int time);
    
    double getBlue();
    void setBlue(double b);
    
    double getRed();
    void setRed(double r);
    
    double getGreen();
    void setGreen(double g);

    boolean getGlide();
    void setGlide(boolean glide);
 
    int getTime();
    void setTime(int milisec);
    
    boolean operator==      (ColorState& c);
    
    void print();
    
    private:
      double _red;
      double _blue;
      double _green;
      
      boolean _glide;
      int _time;
};
#endif
